//
//  VTDecode.h
//  TUTKTest
//
//  Created by kai_leedarson on 2017/10/24.
//  Copyright © 2017年 maple_leedarson. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@protocol VideoDecoderDelegate <NSObject>

@optional
- (void)decoderPixelBuffer:(CVPixelBufferRef)pixelBuffer timeStamp:(UInt32)timeStamp;
@end

@interface VTDecode : NSObject
@property (nonatomic, weak) id<VideoDecoderDelegate> delegate;
- (void)decodeWithBytes:(char *)bytes length:(uint32_t)length timeStamp:(UInt32)timeStamp;
@end
